package com.example.demo.util;

import java.util.Random;

/**
 * 单例
 */
public class ScoreUtil {
    public static ScoreUtil scoreUtil = new ScoreUtil();

    public int getScore(){
        Random random = new Random();
        int j = random.nextInt(71) + 30;
        return j;
    }

    private ScoreUtil() {
    }
}
